﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; 
namespace Framework.Models.Request
{
    public class Fw_FlowschemeRequest
    {
        public string? Id { get; set; }
        /// <summary>
        /// 流程编号
        /// </summary>
        public string? SchemeCode { get; set; }
        /// <summary>
        /// 流程名称
        /// </summary>
        public string SchemeName { get; set; }
        /// <summary>
        /// 流程分类
        /// </summary>
        public string SchemeType { get; set; } = "workflow";
        /// <summary>
        /// 流程内容版本
        /// </summary>
        public string SchemeVersion { get; set; } = "v1";

        /// <summary>
        /// 流程模板使用者
        /// </summary>
        public string SchemeCanUser { get; set; } = "admin";
        /// <summary>
        /// 流程内容
        /// </summary>
        public string? SchemeContent { get; set; }
        /// <summary>
        /// 表单中的控件属性描述
        /// </summary>
        public string? FrmContentData { get; set; }
        /// <summary>
        /// 模板权限类型：0完全公开,1指定部门/人员
        /// </summary>
        public int? AuthorizeType { get; set; } = 0;
 
        /// <summary>
        /// 排序码
        /// </summary>
        public int? SortCode { get; set; } = 1;
        /// <summary>
        /// 审批去重 //2去重,1不去重
        /// </summary>
        public int? DeduplicationType { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string? Description { get; set; }
    }
}
